Use the Detect Method to identify the language of a selected piece of text.
The request body is of type Detect.
Request Body Parameters
| Name | Description | Data Type | 
|---|
| appId |  | xml:string | 
| text |  | xml:string | 

Overview
|  | 
|  | Sequence  
|  | appId optional xs:string
A string containing "Bearer" + " " + access token. |  
|  | text optional xs:string
A string representing the text to split into sentences. The size of the text must not exceed 10000 characters. |  |  | 
The response body is of type DetectResponse.
A string containing a two-character Language code for the given text.Response Body Parameters
| Name | Description | Data Type | 
|---|
| DetectResult |  | xml:string | 

Overview
|  | 
|  | Sequence  |  |